package factory.simpleFactory;

import jdk.nashorn.internal.objects.annotations.Getter;

/**
 * @author 若雨成霜
 */
public enum TransportEnum {

    BUS("bus"),
    CAR("car");

    /**
     * 交通工具类型
     */
    private final String type;

    TransportEnum(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }
}
